package com.icim.entity;

import com.icim.twyd.importer.xmlentity.TwydCellXmlEntity;



public class Ret_cus_prd {

  private String lot_no;
  private String wo_id;
  private String cell_site;
  private String cellid;
  private String sheetno;
  private String cellseq;
  private String cellgrade;
  private String celllotno;
  private String arraylotno;
  private String arraysite;
  private String lottype;
  private String chipgrade;
  private String qty;
  private String is_warning;
  private String judge_mode;
  private String abnormal_code;
  private String feol_fab_code;
  private String beol_fab_code;
  private String defect_code;
  private String pnc_code;
  private String boxid;
  private String evt_timestamp;


  
  /**
   * @return the lot_no
   */
  public String getLot_no() {
    return lot_no;
  }



  /**
   * @param lot_no the lot_no to set
   */
  public void setLot_no(String lot_no) {
    this.lot_no = lot_no;
  }



  /**
   * @return the wo_id
   */
  public String getWo_id() {
    return wo_id;
  }



  /**
   * @param wo_id the wo_id to set
   */
  public void setWo_id(String wo_id) {
    this.wo_id = wo_id;
  }



  /**
   * @return the cell_site
   */
  public String getCell_site() {
    return cell_site;
  }



  /**
   * @param cell_site the cell_site to set
   */
  public void setCell_site(String cell_site) {
    this.cell_site = cell_site;
  }



  /**
   * @return the cellid
   */
  public String getCellid() {
    return cellid;
  }



  /**
   * @param cellid the cellid to set
   */
  public void setCellid(String cellid) {
    this.cellid = cellid;
  }



  /**
   * @return the sheetno
   */
  public String getSheetno() {
    return sheetno;
  }



  /**
   * @param sheetno the sheetno to set
   */
  public void setSheetno(String sheetno) {
    this.sheetno = sheetno;
  }



  /**
   * @return the cellseq
   */
  public String getCellseq() {
    return cellseq;
  }



  /**
   * @param cellseq the cellseq to set
   */
  public void setCellseq(String cellseq) {
    this.cellseq = cellseq;
  }



  /**
   * @return the cellgrade
   */
  public String getCellgrade() {
    return cellgrade;
  }



  /**
   * @param cellgrade the cellgrade to set
   */
  public void setCellgrade(String cellgrade) {
    this.cellgrade = cellgrade;
  }



  /**
   * @return the celllotno
   */
  public String getCelllotno() {
    return celllotno;
  }



  /**
   * @param celllotno the celllotno to set
   */
  public void setCelllotno(String celllotno) {
    this.celllotno = celllotno;
  }



  /**
   * @return the arraylotno
   */
  public String getArraylotno() {
    return arraylotno;
  }



  /**
   * @param arraylotno the arraylotno to set
   */
  public void setArraylotno(String arraylotno) {
    this.arraylotno = arraylotno;
  }



  /**
   * @return the arraysite
   */
  public String getArraysite() {
    return arraysite;
  }



  /**
   * @param arraysite the arraysite to set
   */
  public void setArraysite(String arraysite) {
    this.arraysite = arraysite;
  }



  /**
   * @return the lottype
   */
  public String getLottype() {
    return lottype;
  }



  /**
   * @param lottype the lottype to set
   */
  public void setLottype(String lottype) {
    this.lottype = lottype;
  }



  /**
   * @return the chipgrade
   */
  public String getChipgrade() {
    return chipgrade;
  }



  /**
   * @param chipgrade the chipgrade to set
   */
  public void setChipgrade(String chipgrade) {
    this.chipgrade = chipgrade;
  }



  /**
   * @return the qty
   */
  public String getQty() {
    return qty;
  }



  /**
   * @param qty the qty to set
   */
  public void setQty(String qty) {
    this.qty = qty;
  }



  /**
   * @return the is_warning
   */
  public String getIs_warning() {
    return is_warning;
  }



  /**
   * @param is_warning the is_warning to set
   */
  public void setIs_warning(String is_warning) {
    this.is_warning = is_warning;
  }



  /**
   * @return the judge_mode
   */
  public String getJudge_mode() {
    return judge_mode;
  }



  /**
   * @param judge_mode the judge_mode to set
   */
  public void setJudge_mode(String judge_mode) {
    this.judge_mode = judge_mode;
  }



  /**
   * @return the abnormal_code
   */
  public String getAbnormal_code() {
    return abnormal_code;
  }



  /**
   * @param abnormal_code the abnormal_code to set
   */
  public void setAbnormal_code(String abnormal_code) {
    this.abnormal_code = abnormal_code;
  }



  /**
   * @return the feol_fab_code
   */
  public String getFeol_fab_code() {
    return feol_fab_code;
  }



  /**
   * @param feol_fab_code the feol_fab_code to set
   */
  public void setFeol_fab_code(String feol_fab_code) {
    this.feol_fab_code = feol_fab_code;
  }



  /**
   * @return the beol_fab_code
   */
  public String getBeol_fab_code() {
    return beol_fab_code;
  }



  /**
   * @param beol_fab_code the beol_fab_code to set
   */
  public void setBeol_fab_code(String beol_fab_code) {
    this.beol_fab_code = beol_fab_code;
  }



  /**
   * @return the defect_code
   */
  public String getDefect_code() {
    return defect_code;
  }



  /**
   * @param defect_code the defect_code to set
   */
  public void setDefect_code(String defect_code) {
    this.defect_code = defect_code;
  }



  /**
   * @return the pnc_code
   */
  public String getPnc_code() {
    return pnc_code;
  }



  /**
   * @param pnc_code the pnc_code to set
   */
  public void setPnc_code(String pnc_code) {
    this.pnc_code = pnc_code;
  }



  /**
   * @return the boxid
   */
  public String getBoxid() {
    return boxid;
  }



  /**
   * @param boxid the boxid to set
   */
  public void setBoxid(String boxid) {
    this.boxid = boxid;
  }



  /**
   * @return the evt_timestamp
   */
  public String getEvt_timestamp() {
    return evt_timestamp;
  }



  /**
   * @param evt_timestamp the evt_timestamp to set
   */
  public void setEvt_timestamp(String evt_timestamp) {
    this.evt_timestamp = evt_timestamp;
  }



  public boolean TwydXml2Entity(TwydCellXmlEntity xmlEntity, String boxid) {
    this.boxid = boxid;
    this.lot_no = xmlEntity.getLOT_NO();
    this.wo_id = xmlEntity.getWO_ID();
    this.cell_site = xmlEntity.getCELL_SITE();
    this.cellid = xmlEntity.getCELLID();
    this.sheetno = xmlEntity.getSHEETNO();
    this.cellseq = xmlEntity.getCELLSEQ();
    this.cellgrade = xmlEntity.getCELLGRADE();
    this.celllotno = xmlEntity.getCELLLOTNO();
    this.arraylotno = xmlEntity.getARRAYLOTNO();
    this.arraysite = xmlEntity.getARRAYSITE();
    this.lottype = xmlEntity.getLOTTYPE();
    this.chipgrade = xmlEntity.getCHIPGRADE();
    this.qty = xmlEntity.getQTY();
    this.is_warning = xmlEntity.getIS_WARNING();
    this.judge_mode = xmlEntity.getJUDGE_MODE();
    this.abnormal_code = xmlEntity.getABNORMAL_CODE();
    this.feol_fab_code = xmlEntity.getFEOL_FAB_CODE();
    this.beol_fab_code = xmlEntity.getBEOL_FAB_CODE();
    this.defect_code = xmlEntity.getDEFECT_CODE();
    this.pnc_code = xmlEntity.getPNC_CODE();
    return true;
  }
}
